package win.itshen.cloud.adminlte.common.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 实体父类
 */
@Data
public class SuperEntity extends Model {

    /**
     * 主键ID
     */
    private Long id;
    private Long createBy;
    private Date createDate;
    private Long updateBy;
    private Date updateDate;
    private Integer delFlag;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
